package com.lala.rennigou.service;

import com.github.pagehelper.PageInfo;
import com.lala.rennigou.pojo.EasybuyProduct;
import com.lala.rennigou.pojo.EasybuyProductCategory;

import java.util.List;
import java.util.Map;

public interface EasybuyProductCategoryService {
    List<EasybuyProductCategory> selectByMap(int type);

    List<EasybuyProduct> selectproduct();

    int produckByName(String name);

    PageInfo<EasybuyProductCategory> selectall(int pagenum,int pagesize);

    EasybuyProductCategory categoryById(int id);

    List<EasybuyProductCategory> allCatagory();

    int deleteC(int id);

    int categoryByName(String name);

    int insertC(EasybuyProductCategory easybuyProductCategory);

    int updateC(EasybuyProductCategory easybuyProductCategory);
}
